<!DOCTYPE html>
<html class="x-admin-sm">

<head>
	<meta charset="UTF-8">
	<title>{php}echo session('webtitle'){/php}</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
	{load href="__XADMIN__/css/font.css" /}
	{load href="__XADMIN__/css/xadmin.css" /}
	{load href="__XADMIN__/js/jquery.min.js" /}
	{load href="__XADMIN__/lib/layui/layui.js" /}
	{load href="__XADMIN__/js/xadmin.js" /}
	{load href="__XADMIN__/js/cookie.js" /}
	{load href="__XADMIN__/js/md5.min.js" /}
	<title>{$list.webtitle}</title>
</head>

<body>
	<div class="x-body">
		<fieldset class="layui-elem-field">
			<legend>立项信息</legend>
			<div class="layui-field-box" style="text-align:center;">
				<img src="__UPLOAD__/{$list.lxpic|default='rongyu_teacher/404.png'}" id="lxpic" style="max-height: 300px;max-width: 800px;">
			</div>
		</fieldset>
		<fieldset class="layui-elem-field">
			<legend>结题信息</legend>
			<div class="layui-field-box" style="width: 100%; text-align:center;">
				<img src="__UPLOAD__/{$list.jtpic|default='rongyu_teacher/404.png'}" id="jtpic" style="max-height: 300px;max-width: 800px;">
			</div>
		</fieldset>
	</div>
</body>
<script>
	//config的设置是全局的
	layui.config({
	  base: "__XADMIN__/js/" //假设这是你存放拓展模块的根目录
	});

// 日期控件
layui.use(['laydate', 'createInput'], function() {
	var cInput = layui.createInput;

	// 图片放大与缩小
	$('#lxpic').click(function() {
		cInput.imgMax(this);
	})

	// 图片放大与缩小
	$('#jtpic').click(function() {
		cInput.imgMax(this);
	})

});

</script>
</html>
